#include "cor.hpp"
Cor::Cor(const double _red,const double _green,const double _blue) :red(_red), green(_green), blue(_blue) 
{ }

Cor::Cor(void) : red(0.0) , green(0.0) , blue(0.0) { }

Cor::~Cor(void) { }

void Cor::set(double _red, double _green, double _blue) { 
	red = _red;
	green = _green;
	blue = _blue ;

}

void Cor::set(Cor _cor) {
	red = _cor.getR();
	green = _cor.getG();
	blue = _cor.getB();
}
void Cor::setR(double _red) { red = _red; }

void Cor::setG(double _green) { green = _green; }

void Cor::setB(double _blue) { blue = _blue; }

double Cor::getR(void) const { return red; }

double Cor::getG(void) const { return green; }

double Cor::getB(void) const { return blue; }

